//
// Source code recreated from a .class file by IntelliJ IDEA
// (powered by Fernflower decompiler)
//

package org.quickserver.util.state;

import java.util.Arrays;
import java.util.HashMap;
import java.util.Map;
import org.quickserver.net.model.DevType;
import org.quickserver.util.data.dataProcessing;

public class QNA2B134State {
    public QNA2B134State() {
    }

    public static Map<String, String> getQNA2B134State(String[] strs) {
        Map<String, String> map = new HashMap();
        int[] d = dataProcessing.henTo2(strs[0]);
        int[] g = dataProcessing.henTo2(strs[1]);
        int strLen1 = d.length;
        int strLen2 = g.length;
        d = Arrays.copyOf(d, strLen1 + strLen2);
        System.arraycopy(g, 0, d, strLen1, strLen2);

        for(int i = 0; i < d.length; ++i) {
            switch(i) {
            case 0:
                switch(d[i]) {
                case 0:
                default:
                    continue;
                case 1:
                    map.put(DevType.ys.getCode(), DevType.ys.getName());
                    continue;
                }
            case 1:
                switch(d[i]) {
                case 0:
                default:
                    continue;
                case 1:
                    map.put(DevType.fk.getCode(), DevType.fk.getName());
                    continue;
                }
            case 2:
                switch(d[i]) {
                case 0:
                    map.put(DevType.tz.getCode(), DevType.tz.getName());
                    continue;
                case 1:
                    map.put(DevType.qd.getCode(), DevType.qd.getName());
                default:
                    continue;
                }
            case 3:
                switch(d[i]) {
                case 0:
                default:
                    continue;
                case 1:
                    map.put(DevType.jg.getCode(), DevType.jg.getName());
                    continue;
                }
            case 4:
                switch(d[i]) {
                case 0:
                default:
                    continue;
                case 1:
                    map.put(DevType.pb.getCode(), DevType.pb.getName());
                    continue;
                }
            case 5:
                switch(d[i]) {
                case 0:
                default:
                    continue;
                case 1:
                    map.put(DevType.gz.getCode(), DevType.gz.getName());
                    continue;
                }
            case 6:
                switch(d[i]) {
                case 0:
                default:
                    continue;
                case 1:
                    map.put(DevType.hj.getCode(), DevType.hj.getName());
                    continue;
                }
            case 7:
                switch(d[i]) {
                case 0:
                    map.put(DevType.zcyx.getCode(), DevType.zcyx.getName());
                    continue;
                case 1:
                    map.put(DevType.csyx.getCode(), DevType.csyx.getName());
                default:
                    continue;
                }
            case 8:
                switch(d[i]) {
                case 0:
                case 1:
                default:
                    continue;
                }
            case 9:
                switch(d[i]) {
                case 0:
                case 1:
                default:
                    continue;
                }
            case 10:
                switch(d[i]) {
                case 0:
                    map.put(DevType.zc.getCode(), DevType.zc.getName());
                    continue;
                case 1:
                    map.put(DevType.fw.getCode(), DevType.fw.getName());
                default:
                    continue;
                }
            case 11:
                switch(d[i]) {
                case 0:
                default:
                    continue;
                case 1:
                    map.put(DevType.pzgb.getCode(), DevType.fw.getName());
                    continue;
                }
            case 12:
                switch(d[i]) {
                case 0:
                    map.put(DevType.zd.getCode(), DevType.zd.getName());
                    continue;
                case 1:
                    map.put(DevType.sd.getCode(), DevType.sd.getName());
                default:
                    continue;
                }
            case 13:
                switch(d[i]) {
                case 0:
                    map.put(DevType.zxzc.getCode(), DevType.zxzc.getName());
                    continue;
                case 1:
                    map.put(DevType.zxgz.getCode(), DevType.zxgz.getName());
                default:
                    continue;
                }
            case 14:
                switch(d[i]) {
                case 0:
                    map.put(DevType.bdzc.getCode(), DevType.bdzc.getName());
                    continue;
                case 1:
                    map.put(DevType.bdgz.getCode(), DevType.bdgz.getName());
                default:
                    continue;
                }
            case 15:
                switch(d[i]) {
                case 0:
                    map.put(DevType.zdzc.getCode(), DevType.zdzc.getName());
                    break;
                case 1:
                    map.put(DevType.zdgz.getCode(), DevType.zdgz.getName());
                }
            }
        }

        return map;
    }
}
